home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_142.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  2.1 KB  |  84 lines

  1.  ¬†        Menu Item 
  2.  
  3. Inherits from:     System 
  4.  
  5.  
  6. _____________________________________________________
  7. ¬†            name *210*
  8.  
  9. Type:   string 
  10.  
  11. Description:   Appears as the text for the ¬´Menu Item¬ª, and used by the primitive find-item to find a ¬´Menu Item¬ª by name.    
  12.  
  13.  
  14.  
  15. _____________________________________________________
  16. ¬†            owner *210*
  17.  
  18. Type:   Menu 
  19.  
  20. Constraints:    Not settable.    
  21.  
  22. Description:   If ¬´Menu Item¬ª is a member of item list of an active ¬´Window¬ª, then the value of this attribute is that ¬´Window¬ª; otherwise it is NULL.    
  23.  
  24.  
  25.  
  26. _____________________________________________________
  27. ¬†            active? *210*
  28.  
  29. Type:   boolean    
  30.  
  31. Constraints:    Not settable on default.    
  32.  
  33. Description:      ¬´Menu Item¬ª is drawn black and generates menu events when selected from the owning ¬´Menu¬ª if and only if the value of active? is TRUE, and the value of the enabled? attribute of the owning ¬´Menu¬ª is TRUE.    
  34.  
  35.  
  36.  
  37. _____________________________________________________
  38. ¬†              key *210*
  39.  
  40. Type:   string     
  41.  
  42. Constraints:    Not settable when the owning ¬´Menu¬ª is active.    
  43.  
  44. Description: The character for the keyboard equivalent of the ¬´Menu Item¬ª.    
  45.  
  46.  
  47.  
  48. _____________________________________________________
  49. ¬†              check? *211*
  50.  
  51. Type:   boolean 
  52.  
  53. Description:    A check mark appears beside the ¬´Menu Item¬ª if the value of this attribute is TRUE.      
  54.  
  55.  
  56.  
  57. _____________________________________________________
  58. ¬†              style  *211*
  59.  
  60. Type:   integer 
  61.  
  62. Description:     A number indicating either the style of text used in displaying the ¬´Menu Item¬ª, or the modifier keys specified as keyboard equivalent. See attribute keys of class Menu.    
  63.  
  64.  
  65.  
  66. _____________________________________________________
  67. ¬†              method  *211*
  68.  
  69. Type:   string 
  70.  
  71. Description: The name of the method called when ¬´Menu Item¬ª is selected.    
  72.  
  73. Method inputs: <owning ¬´Menu¬ª>, ¬´Menu Item¬ª, <EventRecord>    
  74.  
  75.  
  76.  
  77. _____________________________________________________
  78. ¬†            balloon  *211*
  79.  
  80. Type:     list 
  81.  
  82. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  83.  
  84.